package com.lanchewuyou.user.driver.modul;

/**
 * url，数据库地址
 */
public class Config {

    /**
     * staredperence地址
     */
    public static final String PASSWORD_PATH = "nameandpassword";//存放用户名和密码的shared文件地址

    public static final String DATABASE = "database_version";//存放数据库版本的shared文件地址

    /**
     * 固定信息
     */
    //保险公司及4s店数据库版本url
    public static final String DATABASE_URL = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=getVersion&type=";

    //保险公司列表
    public static final String COMPANY_URL = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=index&type=insure";

    //4s店列表
    public static final String FOURS_URL = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=index&type=shop";

    //示例url http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverLogin&mobile=13554754711&password=123456
    public static final String SIGN_URL = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverLogin";//登录url

    /**
     * 理赔订单
     */
    //获取未完成订单列表
    //示例url  http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverOrderList&page=1&num=10&driverid=10001
    public static final String DRIVERORDERLIST = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverOrderList";

    //获取已完成订单列表
    //示例url  http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverOrderFinish&page=1&num=10&driverid=10001
    public static final String DRIVERORDERFINISH = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverOrderFinish";

    //获取订单详情
    //示例url  http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverOrderDetail&driverid=10001&orderid=74
    public static final String DRIVERORDERDETAIL = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=driverOrderDetail";

    //开始录入订单标识
    public static final String PUTCARINFOSTATUS = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCarInfoStatus&orderid=";

    //开始录入还车订单标识
    public static final String RETURNCARINFOSTATUS = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putHcInfoStatus&orderid=";

    //第一页录入车主基本信息
    //http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutcarInfoCommon&orderid=422&username=测试&mobile=18610599620&insurancei=2
    public static final String CUSTOMINFOR = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCarInfoCommon&orderid=";

    //第二页录入车辆基本信息
    //http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutcarInfoInside&orderid=422&driverid=10023&oilinfo=4.5&carmodels=本田&carmileage=134000
    public static final String CARINFOR = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCarInfoInside&orderid=";

    //第三页录入车辆维修信息
    //http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutcarInfoRepair&orderid=422&driverid=10023&repairinfo=
    public static final String CARFIXINFOR = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCarInfoRepair&orderid=";

    //第四页录入移交物品信息
    //http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutcarInfoRes&orderid=422&driverid=10023&resinfo=json
    public static final String CUSTOMDATA = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCarInfoRes&orderid=";

    //录入4s店及其他http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutShopInfo&orderid=422&driverid=10023&shopid=&shopname=&huanche=0
    public static final String COMPANYINFO = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutShopInfo&orderid=";

    //单张图片地址http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCommonImage&orderid=423&driverid=10027
    public static final String UPLOADIMG = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putCommonImage&orderid=";

    //上传多张图片    http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=PutInfoImages&orderid=423&driverid=10027&type=7
    public static final String UPLOADIMGS = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putInfoImages&orderid=";

    //送车导航
    public static final String PICKCARDAOHANG = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=getScLocation";

    //还车导航
    public static final String RETURNCARDAOHANG = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=getHcLocation";

    //送车完毕录入信息
    //http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putHcInfo&orderid=423&driverid=10027&time=&contact=
    public static final String RETURNCAROVER = "http://www.lanchewuyou.com/index.php?g=Api&m=InsureDrive&a=putHcInfo&orderid=";

    //推送格式 {"orderid":"20151010175633","driverid":"10027","mobile":"18501371649"}

}